projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7b3f2c
)
fix: nand: pxa3xx: Add WA for eliminating flash ready timeout
author
David Sniatkiwicz
<
[email protected]
>
Wed, 29 Aug 2018 08:56:18 +0000
(11:56 +0300)
committer
Stefan Roese
<
[email protected]
>
Wed, 19 Sep 2018 07:02:34 +0000
(09:02 +0200)
add delay before processing the status flags in pxa3xx_nand_irq().
Signed-off-by: David Sniatkiwicz <
[email protected]
>
Reviewed-by: Igal Liberman <
[email protected]
>
Reviewed-by: Kostya Porotchkin <
[email protected]
>
c: Stefan Roese <
[email protected]
>
Cc: Simon Glass <
[email protected]
>
Signed-off-by: Stefan Roese <
[email protected]
>
drivers/mtd/nand/pxa3xx_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/pxa3xx_nand.c
b/drivers/mtd/nand/pxa3xx_nand.c
index 3323557999f352ee248b0779f89781aeca50ddd3..2a02a9d58efca4e3cccd7bb37f0295e2ff37dd7b 100644
(file)
--- a/
drivers/mtd/nand/pxa3xx_nand.c
+++ b/
drivers/mtd/nand/pxa3xx_nand.c
@@
-668,6
+668,9
@@
static irqreturn_t pxa3xx_nand_irq(struct pxa3xx_nand_info *info)
cmd_done = NDSR_CS1_CMDD;
}
+ /* TODO - find out why we need the delay during write operation. */
+ ndelay(1);
+
status = nand_readl(info, NDSR);
if (status & NDSR_UNCORERR)